/**
 * 2016年10月26日
 */
package jdk;

/**
 * @author Alex
 *
 */
public class HardChoice {
	static class QQ{};
	static class _360{};
	static class Father{
		public void hardChoice(QQ arg){
			System.out.println("father choose qq");
		}
		public void hardChoice(_360 arg){
			System.out.println("father choose 360");
		}
	}
	static class Son extends Father{
		public void hardChoice(QQ arg){
			System.out.println("son choose qq");
		}
		public void hardChoice(_360 arg){
			System.out.println("son choose 360");
		}
	}
	
	public static void main(String args[]){
		Father f = new Father();
		Father s = new Son();
		f.hardChoice(new _360());
		s.hardChoice(new QQ());
		
	}
}
